/**
 * Created by Administrator on 2018/7/24.
 */
$(function () {
    var fileInstantiation = {

    }
    var fileInstantiationDisable = {
        // classCateCodeDis: true, //文件类目不可修改
    }
    //调用初始化方法
    initFileUpload($$scope, fileInstantiation, null, $CertusFormAjax);
})

$$scope.projOtherFileSubmit = function () {
    $$scope.businessQuoteApprove = fileUpload($$scope, function (res) {
        $$scope.file.fileId = res.data;
        $$scope.file.projId = proId;
        $CertusJsonAjax.ajax("uploadFileProj", $$scope.file, function (res) {
            if (res.data == "success") {
                disprojDocumentSubPage();
            }
        })
    }, function () {
        layer.msg("提交文件失败");
    })
}